﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="dangtin_duan.aspx.cs" ValidateRequest="false" Inherits="WebHousingInfo.dangtin_duan" %>

<%@ Register Src="~/Controls/Header.ascx" TagName="Head" TagPrefix="Header" %>
<%@ Register Src="~/Controls/MenuFooter.ascx" TagName="MeNuDuoi" TagPrefix="MenuFooter" %>
<%@ Register Src="~/Controls/Footer.ascx" TagName="Foot" TagPrefix="Footer" %>
<%@ Register Src="~/Controls/Quangcaotraitrangcon.ascx" TagName="QC" TagPrefix="Quangcaotraitrangcon" %>
<%@ Register Src="~/Controls/TimKiemTrangCon.ascx" TagName="TK" TagPrefix="TimKiemTrangCon" %>
<%@ Register Src="~/Controls/NhaDatBanThueMoiTrangCon.ascx" TagName="NDM" TagPrefix="NhaDatBanThueMoiTrangCon" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Đăng Dự Án</title>
</head>
<body>
    <form id="form1" runat="server">
        <div id="uni_wrapper">
            <Header:Head ID="Header" runat="server" />
	        <div id="uni_main">	        
		        <div id="content" class="clearfix">
			        <div id="group_240_l">
			        <!--b box search-->
                        <TimKiemTrangCon:TK ID="TimKiemTrangCon" runat="server" />					     	
				        <NhaDatBanThueMoiTrangCon:NDM ID="NhaDatBanThueMoiTrangCon" runat="server" />
                        <Quangcaotraitrangcon:QC ID="Quangcaotraitrangcon" runat="server" />
			        </div>
			        <div id="group_710_r">
			            <div style="padding:5px;">
			                <a href="Home.aspx">Trang chủ nhà đất</a>&nbsp;>&nbsp;<a href="du_an.aspx">Dự Án</a>&nbsp;>&nbsp;<a href="dangtin_duan.aspx">Đăng tin Dự Án mới</a>
                            <asp:Label ID="lblngaydang" Visible="false" runat="server" Text=""></asp:Label>
			            </div>   
				        <div id="contact-area">		
				            <div>
                                <label class="contact_label_duan">Tên dự án:</label>
                                <asp:TextBox ID="txtname" class="contact_content_duan" MaxLength="200" runat="server"></asp:TextBox>    
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtname" ErrorMessage="?">*</asp:RequiredFieldValidator>            		
                            </div>
                            <div>	
                                <label class="contact_label_duan">Loại dự án:</label>
                                <asp:DropDownList ID="dlloaiduan" DataTextField="Value" 
                                                DataValueField="Key" class="contactdroptime_duan" runat="server">
                                </asp:DropDownList>
                            </div>
                            <div>
                                <label class="contact_label_duan">Mô tả:</label>
                                <asp:TextBox ID="txtmota" class="contact_content_duan" MaxLength="200" runat="server"></asp:TextBox> 
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txtmota" ErrorMessage="?">*</asp:RequiredFieldValidator>
                            </div>
                            <div>
                                <label class="contact_label_duan">Địa chỉ:</label>
                                <asp:TextBox ID="txtaddress" class="contact_content_duan" MaxLength="200" runat="server"></asp:TextBox> 
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtaddress" ErrorMessage="?">*</asp:RequiredFieldValidator>
                            </div>
                            <div>                    
                                <label class="contact_label_duan">Tổng diện tích:</label>
                                <asp:TextBox ID="txtsure" class="contact_content_duan" MaxLength="200" runat="server"></asp:TextBox> 
                            </div>
                            <div>
                                <label class="contact_label_duan">Số tầng:</label>
                                <asp:TextBox ID="txtsotang" class="contact_content_duan" MaxLength="200" runat="server"></asp:TextBox>                     
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                                        ControlToValidate="txtsotang" ErrorMessage="Định dạng không đúng" 
                                        ValidationExpression="^\.?[\d]+$"></asp:RegularExpressionValidator>
                            </div>       
                            <div>
                                <label class="contact_label_duan">Chủ đầu tư:</label>
                                <asp:TextBox ID="txtdautu" class="contact_content_duan" MaxLength="200" runat="server"></asp:TextBox> 
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="txtdautu" ErrorMessage="?">*</asp:RequiredFieldValidator>
                            </div>
                            <div>
                                <label class="contact_label_duan">Đơn vị thi công:</label>
                                <asp:TextBox ID="txtthicong" class="contact_content_duan" MaxLength="200" runat="server"></asp:TextBox> 
                            </div>
                            <div>
                                <label class="contact_label_duan">Đơn vị thiết kế:</label>
                                <asp:TextBox ID="txtthietke" class="contact_content_duan" MaxLength="200" runat="server"></asp:TextBox> 
                            </div>
                            <div>
                                <label class="contact_label_duan">Qui mô dự án:</label>
                                <asp:TextBox ID="txtquimo" class="contact_content_duan" MaxLength="200" runat="server"></asp:TextBox> 
                            </div>
                            <script type="text/javascript" src="../ckeditor/ckeditor.js"></script>
                            <script type="text/javascript">

                                window.onload = function () {

                                    CKEDITOR.replace('txtchitiet');
                                }
                            </script>
                            <div>
                                <label class="contact_label_duan" style="float:none;">Chi tiết dự án:</label>
                                <asp:TextBox ID="txtchitiet" class="contact_content_duan" TextMode="MultiLine" runat="server"></asp:TextBox> 
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" ControlToValidate="txtchitiet" ErrorMessage="?">*</asp:RequiredFieldValidator>
                            </div> 
                            <div>
                            </div>                                       
                            <div align="right" style="padding-right:142px;">	                            
                                <asp:Button ID="btndangtin" runat="server" class="sumitbussiness" Text="Đăng Tin" 
                                    onclick="btndangtin_Click" />                               
                                <asp:Button ID="btnhuy" runat="server" CausesValidation="false" 
                                    class="cancelbussiness" onclick="btnhuy_Click" Text="Huỷ" />
                            </div>                        	
                        </div>    
			        </div>
		        </div>  	
		        <MenuFooter:MeNuDuoi ID="MenuFooter" runat="server" />	
	        </div>
	        <Footer:Foot ID="Footer" runat="server" />
        </div>    
    </form>
</body>
</html>